package com.dxy.df.modules.es;/**
 * Created by cxf_dxy on 2019/10/26.
 */

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.Optional;

/**
 * @author: XiaoFeng Cui (cuixiaofeng@dxy.cn)
 * @date : 2019/10/26
 * @description:
 */
public interface ArticleRepository extends ElasticsearchRepository<ArticleBean, String> {


    Optional<ArticleBean> findById(String id);
}
